package org.jeecg.modules.basic.transfer.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 物料管理调拨表
 * @Author: jeecg-boot
 * @Date:   2021-04-07
 * @Version: V1.0
 */
@Data
@TableName("lwgy_material_transfer")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_material_transfer对象", description="物料管理调拨表")
public class LwgyMaterialTransfer implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**调入校区*/
	@Excel(name = "调入校区", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "调入校区")
    private java.lang.String studentCampusIn;
	/**调出校区*/
	@Excel(name = "调出校区", width = 15)
    @ApiModelProperty(value = "调出校区")
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    private java.lang.String studentCampusOut;
	/**调入仓库*/
	@Excel(name = "调入仓库", width = 15)
    @Dict(dicCode = "id",dicText = "inventory_name",dictTable = "lwgy_material_inventory")
    @ApiModelProperty(value = "调入仓库")
    private java.lang.String inventoryNameIn;
	/**调出仓库*/
	@Excel(name = "调出仓库", width = 15)
    @Dict(dicCode = "id",dicText = "inventory_name",dictTable = "lwgy_material_inventory")
    @ApiModelProperty(value = "调出仓库")
    private java.lang.String inventoryNameOut;
	/**物品名称*/
	@Excel(name = "物品名称", width = 15)
    @ApiModelProperty(value = "物品名称")
    private java.lang.String itemName;
	/**价格*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "价格")
    private java.math.BigDecimal price;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.lang.String amount;
	/**调拨日期*/
	@Excel(name = "调拨日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "调拨日期")
    private java.util.Date inventoryDate;
	/**调拨人*/
	@Excel(name = "调拨人", width = 15)
    @Dict(dicCode = "id",dicText = "realname",dictTable = "sys_user")
    @ApiModelProperty(value = "调拨人")
    private java.lang.String inventoryUser;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;

    private String outState;
    private String inState;
    private String goodsId;
}
